/*
 * Copyright © 2004-2014 chenYuan. All rights reserved.
 * @Website:wwww.jspx.net
 * @Mail:39793751@qq.com
 * @author: chenYuan , 陈原
 * @License: Jspx.net Framework Code is open source (LGPL)，Jspx.net Framework 使用LGPL 开源授权协议发布。
 * @jvm:jdk1.6+  x86/amd64
 *
 */
package com.jspx.txweb.vo;

import com.jspx.sober.annotation.Table;
import com.jspx.utils.StringUtil;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 12-4-8
 * Time: 下午9:39
 *
 */
@Table(name = "jspx_report_int_vo", caption = "整数统计报表",create = false)
public class ReportIntVO implements Serializable {

    private String name = StringUtil.empty;
    private int num = 0;
    private int tempNum = 0;

    public String getName() {
        return name;
    }

    public void setName(Object name) {
        if (name instanceof Integer ||name instanceof Long ||name instanceof Float)
        {
            this.name = name +"";

        } else
            this.name = (String)name;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getTempNum() {
        return tempNum;
    }

    public void setTempNum(int tempNum) {
        this.tempNum = tempNum;
    }
}